package cn.ctbu.xiaopeng.studentscoremanage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xiaopeng
 * @version 1.0
 */
@Controller
@RequestMapping("/course")
public class CourseController {

    /**
     * 使用thymeleaf的模版引擎
     * 跳转到课程信息管理页面
     * @return 返回html静态界面路径，模版teacher/TeacherInfoManager
     */
    @GetMapping("/courseInfoManager")
    public String getView() {
        return "course/CourseInfoManager";
    }

}
